<?php
/*
 *author:Yangligao
 *Date:2013-9-28
 */

class FlinkModel{
	
	private $tableName = 'flink';
	
	function flink_insert($arr){
		return DB::insert($this->tableName, $arr);
	}
	
	function flink_select($columList="*",$where='',$limit='',$order='',$group=''){
		
		return DB::select($this->tableName, $columList,$where,$limit,$order,$group);
	}
	
	function flink_update($arr){
		return Db::update($this->tableName, $arr, 'flink_id');
	}
	
	function flink_delete($arr){
		return Db::delete($this->tableName, $arr);
	}
	function flink_deleteMoreByKey($keyArr){
			
		return db::deleteMoreByKey($this->tableName, $keyArr, "flink_id");
	}
}
?>
